<extend name="Common/base"/>

<block name="body">
    <style>
        body{
            background: #f8f8f8;
        }
        .container{
            background: transparent !important;
        }
        .article_list{
            display: flex;
            justify-content: left;
            flex-wrap: wrap;
            background: initial;
            box-sizing: border-box;
        }
        .list_item{
            box-sizing: border-box;
            width:28%;
            margin:2%;
            flex-grow:0;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        .list_item:after{
            border:0;
        }
        .list_item:nth-child(1){
            margin-left:4%;
        }
        .list_item:nth-child(3n){
            margin-right:4%;
        }
        .list_item:nth-child(4n){
            margin-left:4%;
        }
        .list_item:after{
            border:0;
        }
        .list_item .cover{
            float: none;
            width: 100%;
        }
        .list_item .cover .img{
            width:80%;
            height:initial;
            margin: auto;
            border: 0;
            border-radius: 50%;
        }
        .list_item .cont .title{
            text-align: center;
            padding: 10px 0;
            font-size: 12px;
        }
        .list_item .cont .desc{
            padding-bottom: 20px;
            overflow: hidden;
            display: -webkit-box;
            white-space: pre-wrap;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            word-break: break-all;
        }
    </style>
    <div class="container">
        <div id="js_plugins_loading" class="loading" style="display: none;">
            加载中    </div>
        <div id="js_plugins" style="visibility: visible;">
            <div class="tab js_plugin" id="namespace_1" data-pid="2">
                
                <div class="tab_bd">
                    
                    <div class="article_list article_list_0">
                        
                        <volist name="list" id="info">
                            <a class="list_item js_post" href="{:U('Article/detail',['id'=>$info['id'],'cate'=>$info['category_id']])}" title="{$info.title}">
                                <div class="cover">
                                    <img class="img js_img noShow" src="http://{:C('DOMAIN')}{$info.cover_id|get_cover='path'}" alt="">
                                </div>
                                <div class="cont">
                                    <h2 class="title js_title">{$info.title}</h2>
                                </div>
                            </a>
                        </volist>
                    </div>
                    
                    <div class="article_list article_list_1" style="display: none;">
                    
                    </div>
                
                </div>
            </div>
        
        </div>
    </div>

</block>